-- GENERATED SPELL FOR [Wastes Digger] --


function spell0_26492(pUnit, Event) --@Carnivorous Bite,n/a--
pUnit:FullCastSpellOnTarget(30639,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26492', 15000, 1)
end

function Sorts_26492(pUnit, Event)
local choix_sorts_26492 = math.random(0, 0)
if choix_sorts_26492 == 0 then
pUnit:RegisterEvent('spell0_26492', 1, 1)
end
end

function mob26492_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26492', math.random(1500, 3000), 1)
end

function mob26492_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26492_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26492_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26492, 1, 'mob26492_Action')
RegisterUnitEvent(26492, 2, 'mob26492_Leave')
RegisterUnitEvent(26492, 3, 'mob26492_Kill')
RegisterUnitEvent(26492, 4, 'mob26492_Die')
